package com.ssy.lingxi.contract.model.vo.applyamount.request;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 作废请款单请求接口VO
 * @author 伍将
 * @date 2021/3/10
 * @version 2.0.0
 */
public class ApplyAmountOrderInvalidVO implements Serializable {

    private static final long serialVersionUID = -4886861723493077041L;
    /**
     * 请款单id
     */
    @NotNull(message = "请款单id不能为空")
    @Positive(message = "是请款单id不能为空")
    private Long applyId;

    /**
     * 作废原因
     */
    @NotBlank(message = "作废原因不能为空")
    private String reason;

    public Long getApplyId() {
        return applyId;
    }

    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
}
